import tipBox from "./tipBox.vue";

const TipBox=function(Vue){
    const Tip=Vue.extend(tipBox);
    const showTipBox=function(msg="默认值",time=3){
        let tip=new Tip();
        tip.msg=msg;
        tip.time=time;
        tip.$mount();
    };
    return showTipBox;
};

export default TipBox;